package com.attendance.www.hr.dao.mapper;

import com.attendance.www.hr.entitys.SalaryApprovalRecord;
import com.attendance.www.hr.entitys.SalaryApprovalRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SalaryApprovalRecordMapper {
    int countByExample(SalaryApprovalRecordExample example);

    int deleteByExample(SalaryApprovalRecordExample example);

    int deleteByPrimaryKey(Integer salaryApprovalRecordId);

    int insert(SalaryApprovalRecord record);

    int insertSelective(SalaryApprovalRecord record);

    List<SalaryApprovalRecord> selectByExample(SalaryApprovalRecordExample example);

    SalaryApprovalRecord selectByPrimaryKey(Integer salaryApprovalRecordId);

    int updateByExampleSelective(@Param("record") SalaryApprovalRecord record, @Param("example") SalaryApprovalRecordExample example);

    int updateByExample(@Param("record") SalaryApprovalRecord record, @Param("example") SalaryApprovalRecordExample example);

    int updateByPrimaryKeySelective(SalaryApprovalRecord record);

    int updateByPrimaryKey(SalaryApprovalRecord record);
}